import request from '@/utils/request';

// 获取 Token
export function fetchToken() {
  return request({
    url: '/Camera/api/getToken',
    method: 'get'
  });
}

//查询设备状态
export function queryDeviceStatus() {
  return request({
    url: '/Camera/api/queryDeviceStatus',
    method: 'get'
  });
}

//脸库管理
export function queryFaceLibInfo() {
  return request({
    url: '/Camera/api/queryFaceLibInfo',
    method: 'get'
  });
}

//相机通道号查询
export function queryCameraChannel() {
  return request({
    url: '/Camera/api/queryCameraChannel',
    method: 'get'
  });
}

//相机列表查询
export function queryCameraList() {
  return request({
    url: '/Camera/api/queryCameraList',
    method: 'get'
  });
}